package com.shenmazong.servereduschool.service;

import com.github.pagehelper.PageInfo;
import com.shenmazong.servereduschool.pojo.TbStaff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazong.utils.ResultResponse;

import java.util.List;

/**
 *
 */
public interface TbStaffService extends IService<TbStaff> {

    PageInfo findStaffList(Integer pageNum, Integer pageSize, TbStaff tbStaff);

    ResultResponse add(TbStaff tbStaff);

    ResultResponse queryByStaffId(Long staffId);

    ResultResponse updateStaff(TbStaff tbStaff);

    ResultResponse delByStaffId(Long staffId);

    ResultResponse delAll(List<TbStaff> ids);

}
